@charset "utf-8";
// main
main {
    padding: 4px 0 12px;
    background: #f5f5f5;
    section {
        width: 1226px;
        margin: 0 auto;
        .flashsale-box {
            margin-bottom: 22px;
            position: relative;
            .box-top {
                position: relative;
                width: 234px;
                height: 58px;
                padding-top: 30px;
                h2 {
                    font-size: 22px;
                    font-weight: 500;
                    line-height: 58px;
                    color: #333;
                }
            }
            .box-bottom>.row {
                margin-left: -14px;
                .flashsale-countdown {
                    border-top-color: #e53935;
                    width: 234px;
                    height: 340px;
                    padding-top: 39px;
                    margin-top: 30px;
                    margin-left: 14px;
                    margin-right: 14px;
                    border-top-width: 1px;
                    border-top-style: solid;
                    background: #f1eded;
                    text-align: center;
                    .round {
                        font-size: 21px;
                        color: #ef3a3b;
                        padding-top: 15px;
                    }
                    img {
                        margin: 25px auto;
                    }
                    .desc {
                        color: rgba(0, 0, 0, .54);
                        font-size: 15px;
                    }
                    .countdown {
                        width: 168px;
                        margin: 28px auto 0;
                        span {
                            float: left;
                            width: 46px;
                            height: 46px;
                            background: #605751;
                            color: #fff;
                            font-size: 24px;
                            line-height: 46px;
                        }
                        i {
                            float: left;
                            width: 15px;
                            height: 46px;
                            line-height: 46px;
                            color: #605751;
                            font-size: 28px;
                        }
                    }
                }
                .flashsale-banner {
                    width: 976px;
                    margin: 0 auto;
                    position: relative;
                    overflow: hidden;
                    padding-top: 30px;
                    ul {
                        height: 340px;
                        position: relative;
                        width: 4500px;
                        overflow: hidden;
                        li {
                            float: left;
                            width: 234px;
                            margin-right: 10px;
                            border-top-width: 1px;
                            border-top-style: solid;
                            text-align: center;
                            background: #fff;
                            transition: all .6s;
                            position: relative;
                            &>a {
                                display: block;
                                height: 300px;
                                padding-top: 39px;
                                position: relative;
                                &:after {
                                    content: "";
                                    position: absolute;
                                    left: 0;
                                    right: 0;
                                    top: 0;
                                    bottom: 0;
                                    z-index: 2;
                                    background: rgba(0, 0, 0, .02);
                                }
                                &>div>div {
                                    width: 160px;
                                    margin: 0 auto 22px;
                                    background: rgba(0, 0, 0, .02);
                                    img {
                                        width: 160px;
                                        height: 160px;
                                    }
                                }
                                &>div>h3 {
                                    margin: 0 20px 3px;
                                    font-size: 14px;
                                    font-weight: 400;
                                    text-overflow: ellipsis;
                                    color: #212121;
                                    overflow: hidden;
                                    white-space: nowrap;
                                }
                                &>div>p:nth-of-type(1) {
                                    height: 18px;
                                    margin: 0 20px 12px;
                                    font-size: 12px;
                                    text-overflow: ellipsis;
                                    color: #b0b0b0;
                                    overflow: hidden;
                                    white-space: nowrap;
                                }
                                &>div>p:nth-of-type(2) {
                                    color: #ff6709;
                                    del {
                                        color: #b0b0b0;
                                    }
                                }
                            }
                        }
                        li:nth-of-type(odd) {
                            border-top-color: #ffac13;
                        }
                        li:nth-of-type(even) {
                            border-top-color: #83c44e;
                        }
                    }
                    &>span {
                        width: 71px;
                        position: absolute;
                        display: inline-block;
                        width: 24px;
                        height: 16px;
                        line-height: 16px;
                        padding: 3px 5px;
                        border: 1px solid #e0e0e0;
                        font-size: 16px;
                        font-weight: bold;
                        transition: color .5s;
                        text-align: center;
                        color: #b6b1b1;
                        cursor: pointer;
                        &:hover {
                            color: #ff6709;
                        }
                    }
                    span:nth-of-type(1) {
                        border-right: 0;
                        right: 45px;
                        top: 0;
                    }
                    span:nth-of-type(2) {
                        right: 10px;
                        top: 0;
                    }
                }
            }
        }
        .img-box-1 {
            height: 120px;
            margin: 22px 0;
            overflow: hidden;
            a>img {
                width: 1226px;
                height: 120px;
            }
        }
        .sql-box {
            margin-bottom: 8px;
            .box-hd {
                position: relative;
                height: 58px;
                h2 {
                    font-size: 22px;
                    font-weight: 200;
                    line-height: 58px;
                    color: #333;
                }
                .more {
                    position: absolute;
                    top: 0;
                    right: 0;
                    &>a {
                        font-size: 16px;
                        line-height: 58px;
                        color: #424242;
                        transition: all .4s;
                        &:hover {
                            color: #ff6700;
                        }
                        &:hover i {
                            color: #ff6700;
                        }
                        &>i {
                            width: 12px;
                            height: 12px;
                            padding: 4px;
                            margin-left: 8px;
                            border-radius: 16px;
                            line-height: 12px;
                            color: #b0b0b0;
                            vertical-align: 1px;
                            transition: all .4s;
                            &:hover {
                                color: #ff6700;
                            }
                        }
                    }
                }
            }
            .box-bd .row {
                margin-left: -14px;
                .left-2 {
                    width: 234px;
                    margin-left: 14px;
                    &>ul {
                        margin: 0 0 -14px -14px;
                        height: 614px;
                        &>li {
                            width: 234px;
                            height: 614px;
                            position: relative;
                            z-index: 1;
                            margin-left: 14px;
                            margin-bottom: 14px;
                            background: #fff;
                            transition: all .2s;
                            &:hover {
                                z-index: 2;
                                box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
                                transform: translate3d(0, -2px, 0);
                            }
                            &>a {
                                display: block;
                                width: 100%;
                                height: 100%;
                                img {
                                    width: 234px;
                                    height: 614px;
                                }
                            }
                        }
                    }
                }
                .right-2 {
                    width: 978px;
                    margin-left: 14px;
                    &>ul {
                        margin: 0 0 -14px -14px;
                        width: 992px;
                        height: 614px;
                        &>li {
                            height: 260px;
                            padding: 20px 0;
                            position: relative;
                            float: left;
                            z-index: 1;
                            width: 234px;
                            margin-left: 14px;
                            margin-bottom: 14px;
                            background: #fff;
                            transition: all .2s;
                            &:hover {
                                z-index: 2;
                                box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
                                transform: translate3d(0, -2px, 0);
                            }
                            &>a>.figure,
                            .figure>img {
                                width: 160px;
                                height: 160px;
                                margin: 0 auto 18px;
                            }
                            &>a>h3 {
                                margin: 0 10px 2px;
                                text-align: center;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                                overflow: hidden;
                                font-size: 14px;
                                font-weight: 400;
                                color: #333;
                            }
                            &>a>.desc {
                                margin: 0 10px 10px;
                                height: 18px;
                                font-size: 12px;
                                color: #b0b0b0;
                                text-align: center;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                                overflow: hidden;
                            }
                            &>a>.price {
                                margin: 0 10px 14px;
                                text-align: center;
                                color: #ff6700;
                            }
                        }
                    }
                }
            }
        }
        .plain-box {
            margin-bottom: 8px;
            .box-hd {
                position: relative;
                height: 58px;
                h2 {
                    font-size: 22px;
                    font-weight: 200;
                    line-height: 58px;
                    color: #333;
                }
                .more {
                    position: absolute;
                    top: 0;
                    right: 0;
                    &>ul {
                        padding: 16px 0 0;
                        font-size: 16px;
                        &>li {
                            margin: 0 0 0 30px;
                            display: inline-block;
                            transition: border .3s;
                            cursor: pointer;
                            color: #424242;
                            border-bottom: 2px solid rgba(0, 0, 0, 0);
                            &:hover {
                                color: #ff6700;
                                border-bottom: 2px solid #ff6700;
                            }
                        }
                    }
                }
            }
            .box-bd .row {
                margin-left: -14px;
                .left-3 {
                    width: 234px;
                    margin-left: 14px;
                    &>ul {
                        margin: 0 0 -14px -14px;
                        height: 614px;
                        &>li {
                            width: 234px;
                            height: 300px;
                            position: relative;
                            z-index: 1;
                            float: left;
                            margin-left: 14px;
                            margin-bottom: 14px;
                            background: #fff;
                            transition: all .2s;
                            &>a {
                                display: block;
                                width: 100%;
                                height: 100%;
                                &>img {
                                    width: 234px;
                                    height: 300px;
                                }
                            }
                            &:hover {
                                z-index: 2;
                                box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
                                transform: translate3d(0, -2px, 0);
                            }
                        }
                    }
                }
                .right-3 {
                    width: 978px;
                    margin-left: 14px;
                    &>div {
                        &>ul {
                            margin: 0 0 -14px -14px;
                            width: 992px;
                            height: 614px;
                            position: relative;
                            &>li {
                                width: 234px;
                                height: 260px;
                                padding: 20px 0;
                                position: relative;
                                z-index: 1;
                                float: left;
                                margin-left: 14px;
                                margin-bottom: 14px;
                                background: #fff;
                                transition: all .2s;
                                &:hover {
                                    z-index: 2;
                                    box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
                                    transform: translate3d(0, -2px, 0);
                                }
                                &>a>.figure {
                                    width: 160px;
                                    height: 160px;
                                    margin: 0 auto 18px;
                                    img {
                                        width: 160px;
                                        height: 160px;
                                    }
                                }
                                .title {
                                    margin: 0 10px 2px;
                                    text-align: center;
                                    text-overflow: ellipsis;
                                    white-space: nowrap;
                                    overflow: hidden;
                                    font-size: 14px;
                                    font-weight: 400;
                                    color: #333;
                                }
                                .desc {
                                    margin: 0 10px 10px;
                                    height: 18px;
                                    font-size: 12px;
                                    color: #b0b0b0;
                                    text-align: center;
                                    text-overflow: ellipsis;
                                    white-space: nowrap;
                                    overflow: hidden;
                                }
                                .price {
                                    margin: 0 10px 14px;
                                    text-align: center;
                                    color: #ff6700;
                                    del {
                                        margin-left: .5em;
                                        color: #b0b0b0;
                                    }
                                    span:nth-of-type(2) {
                                        color: #b0b0b0;
                                    }
                                }
                            }
                            &>.box-1 {
                                position: absolute;
                                right: 0;
                                bottom: 143px;
                                .min-li-1 {
                                    height: 93px;
                                    padding-top: 50px;
                                    position: relative;
                                    z-index: 1;
                                    float: left;
                                    width: 234px;
                                    margin-left: 14px;
                                    margin-bottom: 14px;
                                    background: #fff;
                                    transition: all .2s;
                                    &:hover {
                                        z-index: 2;
                                        box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
                                        transform: translate3d(0, -2px, 0);
                                    }
                                    &>a>.figure-min {
                                        position: absolute;
                                        right: 20px;
                                        top: 32px;
                                        width: 80px;
                                        height: 80px;
                                        img {
                                            width: 80px;
                                            height: 80px;
                                        }
                                    }
                                    &>a>.title-min {
                                        color: #333;
                                        margin: -10px 110px 5px 30px;
                                        font-size: 14px;
                                        font-weight: 400;
                                    }
                                    &>a>.price-min {
                                        margin: 0 110px 0 30px;
                                        font-size: 12px;
                                        color: #ff6700;
                                        span {
                                            font-size: 14px;
                                        }
                                    }
                                }
                            }
                            &>.box-2 {
                                position: absolute;
                                right: 0;
                                bottom: -14px;
                                .min-li-2 {
                                    width: 234px;
                                    height: 93px;
                                    padding-top: 50px;
                                    margin-left: 14px;
                                    margin-bottom: 14px;
                                    position: relative;
                                    z-index: 1;
                                    float: left;
                                    background: #fff;
                                    transition: all .2s;
                                    &:hover {
                                        z-index: 2;
                                        box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
                                        transform: translate3d(0, -2px, 0);
                                    }
                                    &>a>.figure-min-2 {
                                        position: absolute;
                                        right: 35px;
                                        top: 48px;
                                        width: 48px;
                                        height: 48px;
                                        color: #ff6700;
                                        i {
                                            font-size: 48px;
                                            line-height: 48px;
                                        }
                                    }
                                    &>a>.more {
                                        margin: 0 110px 0 30px;
                                        font-size: 18px;
                                        color: #333;
                                        small {
                                            display: block;
                                            font-size: 12px;
                                            color: #757575;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

.show {
    display: block;
}

.hide {
    display: none;
}

// right-side-nav
.broadside {
    position: fixed;
    left: 50%;
    right: auto;
    z-index: 99;
    margin-left: 613px;
    bottom: 40px;
    &>a {
        width: 25px;
        height: 40px;
        position: relative;
        display: block;
        margin-top: -1px;
        background-color: #fff;
        border: 1px solid #f5f5f5;
        text-align: center;
        .text {
            display: none;
            height: 28px;
            line-height: 28px;
            padding: 0 8px;
            background-color: #fff;
            border: 1px solid #f5f5f5;
            text-align: center;
            color: #757575;
            position: absolute;
            left: -84px;
            top: 6px;
            &::before {
                content: "";
                position: absolute;
                top: 7px;
                right: -16px;
                border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #f5f5f5;
                width: 0;
                height: 0;
                border-width: 8px;
                border-style: solid;
            }
        }
        &:hover .pop-content {
            display: block;
        }
        &:hover .text {
            display: block;
        }
        .icon {
            width: 20px;
            height: 40px;
            position: relative;
            margin: 0 auto;
            &:hover .static {
                opacity: 0;
            }
            &:hover .hover {
                opacity: 1;
            }
            &>img {
                width: 20px;
                height: 20px;
                position: absolute;
                bottom: 0;
                left: 0;
                transition: opacity .3s;
                margin-top: 10px;
                margin-bottom: 10px;
            }
            .static {
                opacity: 1;
            }
            .hover {
                opacity: 0;
            }
        }
        .pop-content {
            position: absolute;
            left: -140px;
            top: 0;
            padding: 14px;
            background: #fff;
            border: 1px solid #f5f5f5;
            display: none;
            &::before {
                content: "";
                position: absolute;
                top: 10px;
                right: -16px;
                border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #f5f5f5;
                width: 0;
                height: 0;
                border-width: 8px;
                border-style: solid;
            }
            img {
                display: block;
                width: 100px;
                height: 100px;
                margin: 6px auto;
            }
            span {
                display: block;
                width: 82px;
                margin: 14px auto 0;
                color: #757575;
                text-align: center;
            }
        }
    }
}